//
//  HDImageBtn.swift
//  HuaDaoPeifu
//
//  Created by 刘汉琳 on 16/4/6.
//  Copyright © 2016年 paiyipai. All rights reserved.
//

import UIKit

class HDImageBtn: UIButton {

    var selectIndexPath:NSInteger = NSInteger()
    var selectImageNumber:NSInteger = NSInteger()
    
    var btnImageView:UIImageView?{
        didSet{
            btnImageView = UIImageView()
            addSubview(self.btnImageView!)
            self.btnImageView?.snp.makeConstraints({ (make) in
                make.edges.equalTo(self)
            })
            self.setImage(btnImageView?.image, for: UIControlState())
        }
    }

}
